<template>
	<view>123</view>
</template>
<script>
	export default {
		onLaunch: function() {
			console.log('App Launch')
			this.$store.commit('cart/cartInitMut')
			uni.getStorage({
				key:'uni-user-info',
				success: ({data}) => {
					console.log('本地存储用户信息',data);
					this.$store.commit('user/initInfoMut',data)
				}
			})
		},
		onShow: function() {
			console.log('App Show')
		},
		onHide: function() {
			console.log('App Hide')
		}
	}
</script>

<style>
	/*每个页面公共css */
	@import url('colorui/icon.css');
	@import url('colorui/main.css');
	@import url('static/font/iconfont.css');
	@import url('static/css/base.css');
</style>
